package datamodel;


public class FieldFactory {
	
	public static Field getField(){
		return new Field();
	}
	
	public static Field getCompletedField(int value) {
		Field f = getField();
		f.setValue(value);
		return f;
	}
	
	public static Field getInitializedField(Grid g) {
		Field f = getField();
		f.init(g.getNumberOfPossibleValues());
		f.observe(g);
		return f;
	}
}
